home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PRINTER / 2SIDES.ARJ / HINSTALL.BAT < prev    next >
DOS Batch File  |  1991-01-26  |  1KB  |  48 lines

  1. @echo off
  2. if %1x==x goto usage
  3. set TEMP=%1
  4. if %1x==a:x goto floppy
  5. if %1x==A:x goto floppy
  6. if %1x==b:x goto floppy
  7. if %1x==B:x goto floppy
  8. set TEMP=%1\BOTHSIDE
  9. cls
  10. echo .
  11. echo .              Creating a subdirectory for BothSide! ...
  12. echo .
  13. md %1\bothside
  14. :floppy
  15. echo .
  16. echo .              Copying files to drive %1 ...
  17. echo .
  18. copy bothside.* %TEMP%
  19. if %TEMP%==%1\BOTHSIDE goto hard
  20. goto done
  21. :done
  22. cls
  23. echo .
  24. echo .              Installation is complete.  This batch file will now
  25. echo .              start BothSides! and instruct it to print a copy of
  26. echo .              the manual.  You will be given an opportunity to
  27. echo .              get your printer ready, or cancel this operation,
  28. echo .              once the program has started, so don't panic yet
  29. echo .              if you or your printer is not ready.
  30. echo .
  31. pause
  32. %TEMP%\bothside /m
  33. goto end
  34. :usage
  35. cls
  36. echo .
  37. echo .
  38. echo .              You must specify the drive you are installing to.
  39. echo .              For example, if you wish to install to drive D:, type
  40. echo .
  41. echo .                            hinstall d:
  42. echo .
  43. goto end
  44. :hard
  45. copy read*.* %TEMP%
  46. goto done
  47. :end
  48.